﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HFController;
namespace HFWebApp.user
{
    public partial class usercenter : BagePages
    {
        public hf.Model.User user = null;
        public int AskCount = 0;
        public int NoteCount = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
            this.checkAccountIsLogin();
            user = this.getLoginAccount();
            AskController.getController().getAskList(1, 1, "UserID=" + user.ID.ToString(), out AskCount, "ID");
            LawyerController.getController().getLawyerNoteList(1, 1, "UserID=" + user.ID.ToString(), out NoteCount);
        }
    }
}